package com.edu.entity;

import java.sql.Timestamp;

public class productOrder {
    private int orderId;
    private String goodImg;
    private String goodName;
    private String goodDesc;
    private double goodPrice;
    private String buyerName;
    private Timestamp orderTime;
    private String packageNum;
    private Timestamp dispatchTime;
    private Timestamp receiveTime;
    private Integer statusId;
    private Timestamp statusTime;
    private int orderType;
    private int buyerId;
    private int sellerId;
    private String address;
    private int goodsId;  // 新增字段
    private int buyId;    // 新增字段

    // 构造方法
    public productOrder() {
        super();
    }

    public productOrder(int orderId, String goodImg, String goodName, String goodDesc, double goodPrice,
                       String buyerName, Timestamp orderTime, String packageNum, Timestamp dispatchTime, Timestamp receiveTime,
                       Integer statusId, Timestamp statusTime, int orderType, int buyerId, int sellerId, String address,
                       int goodsId, int buyId) {
        super();
        this.orderId = orderId;
        this.goodImg = goodImg;
        this.goodName = goodName;
        this.goodDesc = goodDesc;
        this.goodPrice = goodPrice;
        this.buyerName = buyerName;
        this.orderTime = orderTime;
        this.packageNum = packageNum;
        this.dispatchTime = dispatchTime;
        this.receiveTime = receiveTime;
        this.statusId = statusId;
        this.statusTime = statusTime;
        this.orderType = orderType;
        this.buyerId = buyerId;
        this.sellerId = sellerId;
        this.address = address;
        this.goodsId = goodsId;
        this.buyId = buyId;
    }

    // getter和setter方法
    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public String getGoodImg() {
        return goodImg;
    }

    public void setGoodImg(String goodImg) {
        this.goodImg = goodImg;
    }

    public String getGoodName() {
        return goodName;
    }

    public void setGoodName(String goodName) {
        this.goodName = goodName;
    }

    public String getGoodDesc() {
        return goodDesc;
    }

    public void setGoodDesc(String goodDesc) {
        this.goodDesc = goodDesc;
    }

    public double getGoodPrice() {
        return goodPrice;
    }

    public void setGoodPrice(double goodPrice) {
        this.goodPrice = goodPrice;
    }

    public String getBuyerName() {
        return buyerName;
    }

    public void setBuyerName(String buyerName) {
        this.buyerName = buyerName;
    }

    public Timestamp getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Timestamp orderTime) {
        this.orderTime = orderTime;
    }

    public String getPackageNum() {
        return packageNum;
    }

    public void setPackageNum(String packageNum) {
        this.packageNum = packageNum;
    }

    public Timestamp getDispatchTime() {
        return dispatchTime;
    }

    public void setDispatchTime(Timestamp dispatchTime) {
        this.dispatchTime = dispatchTime;
    }

    public Timestamp getReceiveTime() {
        return receiveTime;
    }

    public void setReceiveTime(Timestamp receiveTime) {
        this.receiveTime = receiveTime;
    }

    public Integer getStatusId() {
        return statusId;
    }

    public void setStatusId(Integer statusId) {
        this.statusId = statusId;
    }

    public Timestamp getStatusTime() {
        return statusTime;
    }

    public void setStatusTime(Timestamp statusTime) {
        this.statusTime = statusTime;
    }

    public int getOrderType() {
        return orderType;
    }

    public void setOrderType(int orderType) {
        this.orderType = orderType;
    }

    public int getBuyerId() {
        return buyerId;
    }

    public void setBuyerId(int buyerId) {
        this.buyerId = buyerId;
    }

    public int getSellerId() {
        return sellerId;
    }

    public void setSellerId(int sellerId) {
        this.sellerId = sellerId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    public int getBuyId() {
        return buyId;
    }

    public void setBuyId(int buyId) {
        this.buyId = buyId;
    }
}